package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 学院试卷对象 college_paper
 * 
 * @author ruoyi
 * @date 2020-11-19
 */
public class CollegePaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Long id;

    /** 隶属学院 */
    @Excel(name = "隶属学院")
    private Long collegeId;

    /** 学院名称 */
    @Excel(name = "学院名称")
    private String collegeName;

    /** 隶属组卷 */
    @Excel(name = "隶属组卷")
    private Long paperId;

    /** 组卷名称 */
    @Excel(name = "组卷名称")
    private String name;

    /** 总分 */
    @Excel(name = "总分")
    private Double score;

    /** 合格分 */
    @Excel(name = "合格分")
    private Double standardScore;

    /** 题数 */
    @Excel(name = "题数")
    private Long questionCount;

    /** 同步时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "同步时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date syncDt;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDt;

    /** 参考人数 */
    @Excel(name = "参考人数")
    private Long testerCount;

    /** 合格人数 */
    @Excel(name = "合格人数")
    private Long passerCount;

    private List<Map<String,Object>> list;

    public List<Map<String,Object>> getList() {
        return list;
    }

    public void setList(List<Map<String,Object>> list) {
        this.list = list;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }

    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }
    public void setPaperId(Long paperId) 
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setScore(Double score)
    {
        this.score = score;
    }

    public Double getScore()
    {
        return score;
    }
    public void setStandardScore(Double standardScore)
    {
        this.standardScore = standardScore;
    }

    public Double getStandardScore()
    {
        return standardScore;
    }
    public void setQuestionCount(Long questionCount) 
    {
        this.questionCount = questionCount;
    }

    public Long getQuestionCount() 
    {
        return questionCount;
    }
    public void setSyncDt(Date syncDt) 
    {
        this.syncDt = syncDt;
    }

    public Date getSyncDt() 
    {
        return syncDt;
    }
    public void setEndDt(Date endDt) 
    {
        this.endDt = endDt;
    }

    public Date getEndDt() 
    {
        return endDt;
    }
    public void setTesterCount(Long testerCount) 
    {
        this.testerCount = testerCount;
    }

    public Long getTesterCount() 
    {
        return testerCount;
    }
    public void setPasserCount(Long passerCount) 
    {
        this.passerCount = passerCount;
    }

    public Long getPasserCount() 
    {
        return passerCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("collegeId", getCollegeId())
            .append("collegeName", getCollegeName())
            .append("paperId", getPaperId())
            .append("name", getName())
            .append("score", getScore())
            .append("standardScore", getStandardScore())
            .append("questionCount", getQuestionCount())
            .append("syncDt", getSyncDt())
            .append("endDt", getEndDt())
            .append("testerCount", getTesterCount())
            .append("passerCount", getPasserCount())
            .toString();
    }
}
